﻿using YAPACS.RisServer.Services.ECharts;

namespace YAPACS.RisServer.Abstractions;

/// <summary>
/// EChart工厂类
/// </summary>
public interface IEChartFactoryService
{
    /// <summary>
    /// 获取新轴线对象
    /// </summary>
    /// <returns></returns>
    Axis GetNewAxis();

    /// <summary>
    /// 获取新的轴线集合
    /// </summary>
    /// <returns></returns>
    List<Axis> GetNewAxisList();

    /// <summary>
    /// 获取图表对象
    /// </summary>
    /// <returns></returns>
    EChart GetNewChart();

    /// <summary>
    /// 获取类目集合
    /// </summary>
    /// <returns></returns>
    List<Category> GetNewCategoryList();

    /// <summary>
    /// 获取数据源对象
    /// </summary>
    /// <returns></returns>
    DataSource GetNewDataSource();

    /// <summary>
    /// 获取新的数据源对象
    /// </summary>
    /// <returns></returns>
    List<DataSource> GetNewDataSourceList();

    /// <summary>
    /// 获取新系列对象
    /// </summary>
    /// <returns></returns>
    SeriesItem GetNewSeriesItem();

    /// <summary>
    /// 获取新的系列集合
    /// </summary>
    /// <returns></returns>
    List<SeriesItem> GetNewSeriesList();

    /// <summary>
    /// 获取新类目对象
    /// </summary>
    /// <returns></returns>
    Category GetNewCategory();
}
